package lxh.listdatascreenview;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Toast;

import lxh.listdatascreenview.view.ListDataScreenView;

public class MainActivity extends AppCompatActivity {
    private ListDataScreenView mListDataScreenView;
    private TestAdapter mAdapter;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mListDataScreenView= (ListDataScreenView) findViewById(R.id.listDataScreenView);
        mAdapter=new TestAdapter(this);
        mListDataScreenView.setAdapter(mAdapter);
    }
    public void test(View view){
        Toast.makeText(this,"test",Toast.LENGTH_LONG).show();
    }
}
